package com.cellulam.log.interaction.dto;

import lombok.*;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * dto request for CmnAccessLog <br>
 * Created by lilin on 20190608.
 */
@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AccessLogRequest implements Serializable {

    /** id    */
    private Long id;
    /** 方法    */
    private String method;
    /** URL    */
    private String url;
    /** http状态码    */
    private Integer httpStatus;
    /** 状态码, 没有为-1  默认值: -1  */
    private Integer status;
    /** 信息    */
    private String message;
    /** 执行耗时，单位毫秒  默认值: 0  */
    private Integer cost;
    /** 来源    */
    private String source;
    /** 客户端IP    */
    private String ip;
    /** 请求body    */
    private String request;
    /** 响应结果    */
    private String response;
    /** 触发人    */
    private Long userId;
    /** 备注    */
    private String memo;

}